package com.ccys.db.mapper;

import com.ccys.db.dto.userManagement.FavouritePrescriptionDto;
import com.ccys.db.entity.TblFavouritePrescription;
import com.ccys.db.vo.doctor.doctorConsultStage.GetFavouritePresciptionDetailVo;
import com.ccys.db.vo.userManagement.DoctorInfoFavouritePrescriptionPageVo;
import com.ccys.db.vo.userManagement.FavouritePrescriptionPageQueryVo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.MySqlMapper;

import java.util.List;

/**
* Created by Mybatis Generator on 2023/12/15
*/
public interface TblFavouritePrescriptionMapper extends Mapper<TblFavouritePrescription>, MySqlMapper<TblFavouritePrescription> {
    List<FavouritePrescriptionPageQueryVo> findPageFavouritePrescription(FavouritePrescriptionDto dto);

    List<DoctorInfoFavouritePrescriptionPageVo> findDoctorInfoFavouritePrescription(@Param("doctorId") String doctorId);

    /**
     *
     * @param favouritePrescriptionId tbl_favourite_prescription 处方表id
     * @return
     */
    List<GetFavouritePresciptionDetailVo> getFavouritePresciptionDetail(@Param("favouritePrescriptionId") String favouritePrescriptionId);
}